@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="billForm">
		
			<input type="hidden" id="id" value="">
			<input type="hidden" id="personName" value="${user.name}">

			<div class="row">
				<div class="col-sm-6 b-r">
                    <#select id="userPerson" name="申请人" disabled="disabled" underline="true">
						<option value="${user.id}">${user.name}</option>
                    </#select>

					<#select id="type" name="账单类型" underline="true">
						<option value="">请选择</option>
						@for(billType in billTypeEnum){
							<option value="${billType.code}">${billType.name}</option>
						@}
					</#select>

					<#select id="state" name="账单状态" underline="true">
						<option value="">请选择</option>
						@for(billState in billStateEnum){
							<option value="${billState.code}">${billState.name}</option>
						@}
					</#select>
				</div>
				<div class="col-sm-6">
					<div id="driverInfoContent">
                        <#input id="personPhone" name="手机" value="${user.phone}" underline="true"/>
                        <#input id="money" name="金额" underline="true"/>
                        <#input id="remark" name="备注" underline="true"/>
					</div>
				</div>
			</div>

			<div class="row btn-group-m-t">/
				<div class="col-sm-10">
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="BillDlg.addSubmit()"/>
					<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="BillDlg.close()"/>
				</div>
			</div>
		</div>

	</div>
</div>
<script src="${ctxPath}/static/modular/system/bill/bill_info.js"></script>
@}
